<%@ page session="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<jsp:include page="../cabecera_home.jsp"></jsp:include>

<div class="marquesina_index" align="center">

	<br> <br> <br>

	<h1>Formulario de Alta de Stock</h1>


	<form:form modelAttribute="stockDTO" action="stock_alta" method="post">

		<table>
			<tr>
				<td valign="top"><form:input type="hidden" path="id" /> <form:input
						type="hidden" path="fechaCreacionStock" value="01/01/2012" />
					<table>
						<tr>
							<td align="right">Variedad</td>
							<td align="left"><form:select path="variedad">
									<form:options items="${variedades}" />
								</form:select></td>
						</tr>
						<tr>
							<td align="right">Color</td>
							<td align="left"><form:input path="color" /> <form:errors
									path="color" /></td>
						</tr>
						<tr>
							<td align="right">Nivel de Acidez</td>
							<td align="left"><form:input path="acidez" /> <form:errors
									path="acidez" /></td>
						</tr>
						<tr>
							<td align="right">Grado de Alcohol</td>
							<td align="left"><form:input path="alcohol" /> <form:errors
									path="alcohol" /></td>
						</tr>
						<tr>
							<td align="right">Nivel de Azucar</td>
							<td align="left"><form:input path="azucar" /> <form:errors
									path="azucar" /></td>
						</tr>
						<tr>
							<td align="right">Edad</td>
							<td align="left"><form:input path="edad" /> <form:errors
									path="edad" /></td>
						</tr>
						<tr>
							<td align="right">Cantidad (Litros)</td>
							<td align="left"><form:input path="cantidad" /> <form:errors
									path="cantidad" /></td>
						</tr>
						<tr>
							<td align="right">Precio ($)</td>
							<td align="left"><form:input path="precio" /> <form:errors
									path="precio" /></td>
						</tr>
						<tr>
							<td align="right">Numero de registro INV</td>
							<td align="left"><form:input path="idINV" /> <form:errors
									path="idINV" /></td>
						</tr>
						<tr>
							<td align="right">Vencimiento</td>
							<td align="left"><form:input path="vencimiento"
									value="dd-MM-yyyy" /> <form:errors path="vencimiento" /></td>
						</tr>
						<tr>
							<td></td>
							<td><input type="submit" value="Submit"><input
								type="Reset"></td>
						</tr>
						</tr>
					</table></td>

			</tr>
		</table>
	</form:form>

</div>

<jsp:include page="../pie_de_pagina_compartida.jsp"></jsp:include>
